import Vue from 'vue'
import App from './App'

import store from './store'
import i18n from './conf/i18n/index.js'
import uView from "uview-ui";
import footerBar from "pages/common/footer-bar"
import './permission'
Vue.use(uView);
Vue.use(footerBar);
Vue.component("footerBar",footerBar);

Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.$onLaunched = new Promise(resolve => {
	Vue.prototype.$isResolve = resolve;
})

App.mpType = 'app'

const app = new Vue({
	i18n,
	store,
	...App
})
app.$mount()
